import request from '@/utils/request'
//获取字典类型
export const getTypeList = () => {
  return request({
    url: '/api/dict/typeList',
    method: 'get'
  })
}
//获取参数类型详情
export const getTypeDetail = (param:any) => {
  return request({
    url: '/api/dict/dictType/detail',
    method: 'post',
    data:param
  })
}
//删除参数类型
export const deleteType = (param:any) => {
  return request({
    url: '/api/dict/dictType/delete',
    method: 'post',
    data:param
  })
}
//获取数据字典详情
export const getDictDetail = (param:any) => {
  return request({
    url: '/api/dict/detail',
    method: 'post',
    data:param
  })
}
//删除数据字典
export const deleteDict = (param:any) => {
  return request({
    url: '/api/dict/delete',
    method: 'post',
    data:param
  })
}